package com.liangtian.mdm.system.thumbnail.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "SYS_FILE_THUMBNAI")
public class SysThumbnai implements Serializable {
    @SequenceGenerator(name = "Any", sequenceName = "SYS_FILE_THUMBNAI_SEQ")
    @Id
    @Column(name = "ID")
    private String id;  //主键id
    @Column(name = "SURVEY_TYPE")
    private String surveyType; //业务类型 附件所属模块
    @Column(name = "DATA_ID")
    private String dataId;  //附件所属模块的数据id
    @Column(name = "FILE_PATH")
    private String filePath; //附件存储路径
    @Column(name = "FILE_NAME")
    private String fileName;  //附件名称
    @Column(name = "FILE_TYPE")
    private String fileType;  //文件类型
    @Column(name = "CREATE_TIME")
    private Date createTime; //创建数据
    @Column(name = "CREATOR_ID")
    private String creatorId;  //创建人

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSurveyType() {
        return surveyType;
    }

    public void setSurveyType(String surveyType) {
        this.surveyType = surveyType;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }


}
